removeMask

abstract fun removeMask(block: DesignBlock, index: Int)

Removes the mask at the given index. The mask block is not destroyed. Required scope: "layer/clipping"

Parameters

block

the block to remove the mask from.

index

the index of the mask.